package com.px.auditRecord.mapper;

import java.util.List;
import com.px.auditRecord.domain.RoutesSurface;

/**
 * mianMapper接口
 * 
 * @author WRJ
 * @date 2024-08
 */
public interface RoutesSurfaceMapper 
{
    /**
     * 查询mian
     * 
     * @param id mian主键
     * @return mian
     */
    public RoutesSurface selectRoutesSurfaceById(Integer id);

    /**
     * 查询mian列表
     * 
     * @param routesSurface mian
     * @return mian集合
     */
    public List<RoutesSurface> selectRoutesSurfaceList(RoutesSurface routesSurface);

    /**
     * 新增mian
     * 
     * @param routesSurface mian
     * @return 结果
     */
    public int insertRoutesSurface(RoutesSurface routesSurface);

    /**
     * 修改mian
     * 
     * @param routesSurface mian
     * @return 结果
     */
    public int updateRoutesSurface(RoutesSurface routesSurface);

    /**
     * 删除mian
     * 
     * @param id mian主键
     * @return 结果
     */
    public int deleteRoutesSurfaceById(Integer id);

    /**
     * 批量删除mian
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRoutesSurfaceByIds(Integer[] ids);

    public int deleteRoutesSurfaceByBasicId(Integer basicId);

    public List<RoutesSurface> selectRoutesSurfaceByBasicId(Integer id);
}
